Method, system and program product for resolving word ambiguity in text language translation

ABSTRACT

This invention discloses a computer translation method and system for resoving word ambiguity. During translating a text in a first language, checking whether or not the word to be translated or the sentence containing the word has additional related text that is associated by a linkage. When the meaning of the word can not be uniquely determined in a second language by analyzing the context than the related text is obtained according to the linkage and the word is translated using both the immediate text and the related text. The linkage mechanism is described as a hyperlink in a HTML document.

TECHNICAL FIELD OF THE INVENTION

[0001] This invention relates to a machine translation method and system for text translation, and particularly, to a machine translation method and system for word meaning disambiguation based on hyperlink information.

BACKGROUND OF THE INVENTION

[0002] Machine translation is a technology which uses a computer to translate one kind of words or spoken language into another kind of words or spoken language. That is to say, on the basis of theory about language form and structure analysis in linguistics, relying on mathematically established machine lexicon and machine grammar, using the great storage capacity and data processing ability of computers, the auto-translation from one language into one or more other languages is accomplished without artificial interference. Machine translation is a frontier applied science being introduced into many branches of learning such as linguistics, computer linguistics and computer science etc. In order to realize the translation function, the machine translation system must have the capacities of word analyzing, sentence analyzing, grammar analyzing, dictionary lexicon, collocation lexicon, word meaning analyzing and the language outputting. The machine translation system includes several types such as conversion type, knowledge and word meaning type, but the functions and properties of those types are comprehensively used in practice.

[0003] Currently used machine translation systems can give sentence level translation. For a given article, some of systems can select the proper meanings of the word by statically analyzing the context.

[0004] With increased popularity of the Internet and the World Wide Web (Web), the machine translation systems can not satisfy the need to select the proper meaning of the words on the Web only by statically analyzing the context. For example, when a user visits some Internet sites by using the web browser he/she can read the web pages which is written in HTML (HyperText Markup Language) and may comprise other files including GIF, JPEG or the like. Also, there are often many hyperlinks in the web pages. The hyperlinks are objects that connect the page to other pages. Thus, when translation systems try to translate the Web pages, they should not be limited to the static analysis within a context of the page. When there is more than one meaning for a word, the word is ambiguous. The process of determining one of a multiple meaning for an ambiguous word is disambiguation. When it is impossible to determine the appropriate meaning of a word on the basis of the context, the appropriate meaning can be selected by dynamically analyzing associated hyperlinked information. For example, a news web page contains some titles which have hyperlinks. One such hyperlink is “Clinton wins senate support as Kosovo strikes near”. Here, we assume that the source language is English and that the target language is Chinese. For the translation system, it is very difficult to determine that of several possible meanings, for example, of the word “strike” the correct one is Chinese “

”. It may be “

”, “

”, or ““

”. If no other information is available, “strike”, as a noun, usually is translated as “

”’. The text that is linked to is:

[0005] “President Clinton sought and won support from Congress for Military action against Yugoslavia just hours after NATO ordered air strikes that could begin as early as Wednesday”.

[0006] The multi-word “air strike” is contained in the above text. The multi-word “air strike” has only one meaning in Chinese: “

”. The meaning of “strike” in the multi-word “air strike” is “

”. Thus, from the meaning of the multi-word “air strike”, the meaning of “strike” in the title can be determined. In most cases, a word in the context of one topic has only one meaning. Our invention is based on such an assumption.

[0007] Existing machine translation systems can give sentence level translation, when determining the meaning of the words they select the proper meanings of the word only by statically analyzing the context of the sentence and can not improve the accuracy of the translation by dynamically analyzing related text. For the Internet users, such existing machine translation systems are not sufficient. In the above example, a user is interested in the Chinese translation “

” but not

if the machine translation system gives a translation of the title as the topic “

”, the user may not read further and thus miss the details about “air strike”.

SUMMARY OF THE INVENTION

[0008] In order to solve the above problem, this invention proposes a machine translation method and machine translation system for word meaning disambiguation based on hyperlink information.

[0009] According to an aspect of the invention, there is provided a machine translation method for word meaning disambiguation, comprising the steps of:

[0010] during translating a text in a first language, checking whether or not the word to be translated or the sentence containing the word has hyperlink information associated with it when the meaning of the word can not be determined for a second language by analyzing the context;

[0011] if so, getting the referenced documents from hyperlink information, translating the word into the second language based on the referenced documents.

[0012] According to another aspect of the invention, the text in the first language described above is the web pages published by HTML language over the World Wide Web, and said related hyperlink information is used to describe the relationship among the web pages and individual parts in the same web page. According to a further aspect of the invention, there is provided a machine translation system for word meaning disambiguation, for translating text in a first language into text in a second language, the system comprising:

[0013] dictionary lexicon, word meaning analyzer, morphology analyzer, syntax analyzer, grammar analyzer, semanteme analyer and outputting means for the translation results. The system is characterized by further comprising a hyperlink information processor for checking whether or not the word to be translated or the sentence containing said word has hyperlinked information when the meaning of the word can not be uniquely determined in a second language by the word meaning analyzer through analyzing the context. If so, getting the referenced documents from hyperlink information, translating the word into the second language based on the referenced documents.

[0014] In view of this, the inventive machine translation method and system for word meaning disambiguation based on hyperlink information can improve the accuracy of the translation.

[0015] These and other objects will be apparent to one skilled in the art from the following drawings and detailed description of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016]FIG. 1 is a flow chart describing a machine translation method for word meaning disambiguation according to a preferred embodiment of the invention;

[0017]FIG. 2 is a flow chart describing a process for performing collection of parent-phrases according to a preferred embodiment of the invention;

[0018]FIG. 3 is a flow chart describing a process for performing probability analysis of the word meaning according to a preferred embodiment of the invention; and

[0019]FIG. 4 is a block diagram describing a machine translation system for word meaning disambiguation according to a preferred embodiment of the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] The technology terms used in this specification are presented as follows:

[0021] HTML: The full name of HTML is “HyperText Markup Language”, the Chinese name being “

”, and simply speaking, it is the lingua franca for all Internet sites, the web pages being constituted on the basis of files in HTML format by attaching some other language tools (such as JavaScript, VBScript, JavaApplet etc.). Besides some fundamental words, these files further include some tags which are composed of “<” and “>” as well as a character string as shown in the following examples, while the function of the browser is to interpret the tags to display the words, images and animation, and to output sounds.

[0022] <HTML>

[0023] <HEAD>

[0024] <TITLE>web page title </TITLE>

[0025] </HEAD>

[0026] <BODY BGCOLOR=“#FFFFFF”>

[0027] <P>here is the text of the HTML file</P>

[0028] </BODY>

[0029] </HTML>

[0030] URL: The full name of URL is “Uniform Resource Locator”, the Chinese name being “

”. Simply speaking, it is the user's view of an address of a Web site on the Internet. It is an address to a file in a Server. URL make it possible to direct both network users and software applications to obtain a variety of information transmitted from different network station by use of different Internet protocols.

[0031] HyperLink: Hyperlinks are objects that, when selected, connect to other objects. A Hyperlink on a web page can be selected by a user's computer “mouse” causing an associated web page to appear on the user's terminal. Hyperlinks interconnect Web pages. There are three kind of hyperlinks in the web pages: the first being the hyperlink containing an absolute URL, for example, the link to IBM main web page from your web terminal (http//www.ibm.com); the second is a hyperlink of a relative URL, for example, the link which links a paragraph of words or titles in your main web page to the other web pages of the same web site; the third kind of hyperlink permit navigation within a web page, i.e. bookmark.

[0032] Parent-Phrase: A parent-phrase of a word is a phrase or a collocation of words that contain the word. For example, the phrase “air strike” is the parent—phrase for word “strike”.

[0033] Transfer Lexicon is a word or phrase level English to Chinese bilingual dictionary.

[0034] The preferred embodiments according to the invention will be described below in conjunction with the accompanying diagrams.

[0035] As shown in FIG. 1, a machine translation method for word meaning disambiguation according to a preferred embodiment of the invention comprises:

[0036] Step 101: Detach the tags. In order to make the machine translation. for the documents in a first language, all the tags are generally detached prior to the translation, that is, detaching the marks which are artificially attached for publishing documents on the network. All detached tags are placed in a tag database. Generally, after the document is translated, the tags are attached again before returning the translation results. Thus the browser can use the tags to display the documents in a second language.

[0037] Step 102: Hyperlink checking. This procedure is used to check whether or not a sentence or some words in the sentence have hyperlinks. For the documents published in HTML, the hyperlink can be a named location within the current page, or a URL acting as a network address. A URL to be processed must satisfy the following conditions:

[0038] 1. The network protocol must be HTTP protocol;

[0039] 2. Content-type must be text/html.

[0040] For example, a sentence with a hyperlink may be:

[0041] I love this <A HREF=http://abc.xyz.net/game.html>game</A.>.

[0042] In addition to web pages, the machine translation method of the present invention is also suitable for other documents having hyperlink information (such as links and bookmarks). For example, Adobe Portable Document format (PDF) files, Lotus Notes files, Microsoft Word files, Microsoft Windows help files, etc. It is well known by those skilled in the art that the method of the invention can be useful for other types of documents by merely changing the hyperlink checking step.

[0043] For example, for Microsoft Word RTF documents, the hyperlink may be bookmarks or URL in the files. The example described above can therefore be written in RTF format as:

[0044] I like this {\field {\fldinst HYPERLINK “http://abc.xyz.net/game.html”} {\fldinst game}}.

[0045] Step 103: Collect parent-phrases. After the referenced documents are obtained on the base of hyperlink information, the parent-phrases in the plain text can be collected sentence by sentence. The particular procedure will be illustrated in detail later in conjunction with FIG. 2.

[0046] It should be noted that the referenced documents can be from layer-1 hyperlink and that they can also be from any layer hyperlink.

[0047] Step 104: Probability analysis. This procedure is to analyze the probability for each meaning. The particular procedure will be illustrated in detail later in conjunction with FIG. 3.

[0048] Step 105: Select meanings. This procedure will be illustrated in detail later.

[0049] Step 106: Attach the tags and send the results.

[0050] It is shown in the above description that the machine translation method for word meaning disambiguation of the invention can dynamically analyze the hyperlink information, get the referenced documents from hyperlink information, determine the meaning of the words to be translated from the referenced documents, and thus improve accuracy of the machine translation.

[0051] The parent-phrases collecting procedure is explained below in conjunction with FIG. 2. As shown in FIG. 2, for each sentence in the document 201, a grammatical structure 202 of the sentence is given by parsing. For the example mentioned above, the clause “NATO ordered air strike” can be parsed as: NATO order air strike subject verb object

[0052] The multi-word “air strike” is a grammatical component 203. For this case, “air strike” can be considered as a parent-phrase of word “strike”. The corresponding entry is found in the transfer lexicon 204 as:

air strike<n(ac)<t(

)<o(

)<x(,

)

[0053] Within the entry, the “n” indicates the “air strike” is a noun. The “ac” means “action”, which is its semantic class. “t(

)” represents it can be translated as “

”. “o(

)” denotes that its measure in Chinese as “

”. And finally, “x(,

)” tells that “air strike” is a parent-phrase of “strike” and “strike” has the sense “

” and “air strike” is not a parent-phrase of word “air”.

[0054] For another example “He received his doctoral degree”, the grammatical structure is obtained as follows by parsing 202: he receive his doctoral degree subject verb pron--> adj--> object

[0055] The word “his” and “doctoral” are two modifiers for word “degree”. Such related grammar components can be combined according the grammar rules 203. In the transfer lexicon, the following entry is selected 204:

receive <v(Obj degree/)<t(

)<x(

, ab,

)

[0056] Within the entry, “v” indicates this is a verb phrase. “(Obj degree/)” indicates that the verb “receive” needs to have the word “degree” as its object. The slash “/” after “degree” means the word “degree” is the head word in the entry.

[0057] “t(

)” specifies the translation of the entry and the “*” can be replaced by the modifiers of word “degree”.

[0058] “x(

, ab,

)” represents the information for the head word “degree”: its translation (

) semantic class (abstract object) and measure unit (

)). Thus the phrase “receive(v) degree(ovj)” is a parent-phrase for word “degree”.

[0059] All of the parent-phrases mentioned above can be obtained by processing the referenced document. The subsequent translation is performed by use of a temporary lexicon created by the parent-phrases which have the entries as follows:

strike<n (ac)<t(

)<o(

)

degree<n (ab)<t(

)<o(

)

[0060] The probability analysis procedure is described below with reference to FIG. 3. As shown in FIG. 3, the probability analysis procedure 300 is composed by two routines: synonym analysis 301 and local collocation analysis 302.

[0061] 1. Synonym Analysis

[0062] For each meaning of the word to be disambiguated, the synonyms in the target language are marked in the associated document. If a synonym is found, then the possibility for the meaning will increase. For example, For the word “strike” in the sentence “China erupts in fury at NATO strike”, one sentence in the associated document is:

[0063] “Thousands of people protested at U.S. and other diplomatic missions in China Saturday in an officially sanctioned outpouring of fury at NATO's bombing of the Chinese embassy in Belgrade.”

[0064] “

”‘in Chinese has the following synonyms:

[0065]

”.

[0066] In the referenced document, the word “bombing” has a meaning as “

”, which is a synonym of “

”. Thus, the meaning “

” for word “strike” is more possible then others. To implement this, the synonym lexicon will be scanned for each keyword in the associated document. If a synonym is found, the weight of the meaning for the word will be heavier. For the example mentioned above, the initial weights for word “strike” are as: meaning weight

40

33

21

2

[0067] Where the weights are the frequency for each meaning in a large corpus. After the synonym analysis, the weights become: meaning weight

40

33 + 10

21

2

[0068] 2. Local Collocation Analysis:

[0069] The source language parsing can give a local syntactic relation for a sentence. For example, the word to be disambiguated is developed in the sentence “He developed the film”. In the transfer lexicon, the entries for verb “develop” with an object are:

develop<v (obj 1)<t(

)

develop<v (obj 1)<t(

)

develop<v (obj 1)<t(

)

develop<v (obj 1)<t(

obj 1

)

develop<v (obj 1)<t(

obj 1

)

[0070] The parsing indicates that develop and film have the verb-object syntactic relation. The word film as a noun has the following meanings:

film<n (mm na)<t(

)<o0

film<n (mm)<t(

)<o(

)

film<n (mm)<t(

)<o(

)

film<n (ab)<t(

)<o(

)

film<n (ab)<t(

)<o0

[0071] The frequencies for the combinations with the verb-object syntatic relation in the target language corpus are as:

0 0 0 0 0

1 2 7 0 0

0 0 0 0 2

0 1 2 0 0

0 0 0 0 1

0 0 0 0 0

[0072] Here, the pair “

” is the most possible collocation.

[0073] The syntactic relations used in the system are: verb-object, adjective-noun, subject-verb, adverb-verb, and noun-noun.

[0074] The below example shows how to select a proper meaning of a word by matching the entries in the temporary parent-phrase lexicon, collocation lexicon and transfer lexicon. Generally, the proper meaning of a word is selected according to the weight of the word in the lexicons. In the following example, since the weights of the entries in the temporary parent-phrase lexicon are much more than those of the others, for the word “strike” we select the meaning of the word in the temporary parent-phrase lexicon.

130 strike<n(ac)<t(

)<o(

) in parent-phrase lexicon:

43 strike<n(ac)<t(

)<o(

) in synonym lexicon

40 strike<n(ab)<t(

)<o(

) in transfer lexicon

33 strike<n(ac)<t(

)<o(

) in transfer lexicon

21 strike<n(ac)<t(

)<0() in transfer lexicon

2 strike<n(ab)<t(

)<o(

) in transfer lexicon

[0075] With English as the source language (the first language) and Chinese as the target language (the second language), above is described a machine translation method for word meaning disambiguation utilizing hyperlink information according to a particular embodiment of the invention. The method has been embodied in an in-line web page translation system which is called a Homepage translator 2.0. The structure of the translation system is shown in FIG. 4. The machine translation system generally includes:

[0076] dictionary lexicon, word meaning analyzer, morphology analyzer, syntax analyzer, grammar analyzer, semantic meaning analyzer, and outputting means for the translation results.

[0077] A machine translation system for word meaning disambiguation on the base of hyperlink information according to a preferred embodiment of the invention further comprises a source text analyzer, i.e. a hyperlink information processor, for checking whether or not the word to be translated or the sentence containing the word has associated hyperlink information when the meaning of the word can not be determined in a second language by the word meaning analyzer through analyzing the context. If hyperlink information exists, the referenced documents are obtained using the hyperlink information, and the word is translated into the second language based on the referenced documents. As shown in FIG. 4, the source text analyzer checks whether the word has related hyperlink information, by reference to the hyperlink library, when the unique meaning of the word can not be determined by the word meaning analyzer through analyzing the context. If there is related hyperlink information, getting the referenced documents, parsing the referenced documents sentence by sentence, and putting the parent-phrases collected by the parent-phrases collector into a temporary lexicon for use in subsequent translation work. In order to improve the accuracy of translation for the meaning of the word in the translation system of the present invention, a synonym analysis is made by the synonym analyzer and a local collocation analysis is made by the collocation analyzer. Both synonym analyzer and collocation analyzer refer to their own lexicons (i.e. synonym lexicon and collocation lexicon) when performing probability analysis. After completing the probability analysis, the word meaning selector selects a translation result from the corresponding entries. The result being the word meaning having the highest weight.

[0078] It is seen from the above introduction that the accuracy of machine translation can be improved by the machine translation method and system for word meaning disambiguation based on hyperlink information according to the present invention.

[0079] While the preferred embodiment of the invention has been illustrated and described herein, it is to be understood that the invention is not limited to the precise construction herein disclosed, and the right is reserved to all changes and modifications coming within the scope of the invention as defined in the appended claims. 

What is claimed is:
 1. A method for translating first text in a first language to second text in a second language, the method comprising the steps of: a) analyzing a first phrase in its immediate context in the first text for the existence of a first translation to a unique phrase in the second text in the second language; b) translating the first phrase to a unique second phrase in the second text if the first translation is found to exist; c) obtaining additional context using a link related to the first text if the unique phrase is not found; and d) then translating the first phrase to a second phrase using the additional context obtained in the second text in the second language if the first translation is not found to exist.
 2. The method according to claim 1 wherein the first phrase is a word.
 3. The method according to claim 1 wherein the link is a hyperlink in HTML code.
 4. The method according to claim 1 wherein the first text is one of PDF file, Lotus Notes file, Lotus Word Pro file, Microsoft Word file or Microsoft Windows help file.
 5. The method according to claim 1 comprising the further steps of: e) collecting parent-phrases containing the first phrase from the additional context; f) determining the probability for all possible second phrases of the parent-phrases in the second language; and g) using the determined probability to select the best second phrase to be used in the translation.
 6. The method according to claim 1 further comprising the steps of: e′) parsing the context containing the phrase, giving a grammatical structure of the context; f′) determining the parent-phrases on the basis of combining the related grammatical components and searching a transfer lexicon; and g′) constructing a temporary lexicon by corresponding entries of all the parent-phrases in the transfer lexicon to be used in one or more successive translation procedures.
 7. The method according to claim 5 wherein step f) comprises the steps of: f.1) analyzing using synonyms; and f.2) analyzing a local collocation.
 8. The method according to claim 1 wherein the translating of step b) or step d) uses a dictionary lexicon.
 9. The method according to claim 1 wherein the translating of step b) or step d) uses a word meaning analyzer.
 10. The method according to claim 1 wherein the translating of step b) or step d) uses a sentence analyzer.
 11. The method according to claim 1 wherein the link is to context in the same web page.
 12. The method according to claim 1 wherein the link is to context in another web page.
 13. A system for translating first text in a first language to second text in a second language, the system comprising: a) means for analyzing a first phrase in its immediate context in the first text for the existence of a first translation to a unique phrase in the second text in the second language; b) means for translating the first phrase to a unique second phrase in the second text if the first translation is found to exist; c) means for obtaining additional context using a link related to the first text if the unique phrase is not found; and d) means for then translating the first phrase to a second phrase using the additional context obtained in the second text in the second language if the first translation is not found to exist.
 14. The system according to claim 13 wherein the first phrase is a word.
 15. The system according to claim 13 wherein the link is a hyperlink in HTML code.
 16. The system according to claim 13 wherein the first text is one of PDF file, Lotus Notes file, Lotus Word Pro file, Microsoft Word file or Microsoft Windows help file.
 17. The system according to claim 13 further comprising: e) means for collecting parent-phrases containing the first phrase from the additional context; f) means for determining the probability for all possible second phrases of the parent-phrases in the second language; and g) means for using the determined probability to select the best second phrase to be used in the translation.
 18. The system according to claim 13 further comprising: e′) means for parsing the context containing the phrase, giving a grammatical structure of the context; f′) means for determining the parent-phrases on the basis of combining the related grammatical components and searching a transfer lexicon; and g′) means for constructing a temporary lexicon by corresponding entries of all the parent-phrases in the transfer lexicon to be used in one or more successive translation procedures.
 19. The system according to claim 13 further comprising: f.1) means for analyzing using synonyms; and f.2) means for analyzing a local collocation.
 20. The system according to claim 13 wherein the translation means of b) or d) uses a dictionary lexicon.
 21. The system according to claim 13 wherein the translation means of b) or d) uses a word meaning analyzer.
 22. The system according to claim 13 wherein the translation means of b) or d) uses a sentence analyzer.
 23. The system according to claim 13 wherein the link is to context in the same web page.
 24. The system according to claim 13 wherein the link is to context in another web page.
 25. A computer program product comprising a computer useable medium having computer readable program code means therein for translating first text in a first language to second text in a second language, the computer program product comprising: a) computer readable program code means for analyzing a first phrase in its immediate context in the first text for the existence of a first translation to a unique phrase in the second text in the second language; b) computer readable program code means for translating the first phrase to a unique second phrase in the second text if the first translation is found to exist; c) computer readable program code means for obtaining additional context using a link related to the first text if the unique phrase is not found; and d) computer readable program code means for then translating the first phrase to a second phrase using the additional context obtained in the second text in the second language if the first translation is not found to exist.
 26. The computer program product according to claim 25 wherein the first phrase is a word.
 27. The computer program product according to claim 25 wherein the link is a hyperlink in HTML code.
 28. The computer program product according to claim 25 wherein the first text is one of PDF file, Lotus Notes file, Lotus Word Pro file, Microsoft Word file or Microsoft Windows help file.
 29. The computer program product according to claim 25 further comprising: e) computer readable program code means for collecting parent-phrases containing the first phrase from the additional context; f) computer readable program code means for determining the probability for all possible second phrases of the parent-phrases in the second language; and g) computer readable program code means for using the determined probability to select the best second phrase to be used in the translation.
 30. The computer program product according to claim 25 further comprising: e′) computer readable program code means for parsing the context containing the phrase, giving a grammatical structure of the context; f′) computer readable program code means for determining the parent-phrases on the basis of combining the related grammatical components and searching a transfer lexicon; and g′) computer readable program code means for constructing a temporary lexicon by corresponding entries of all the parent-phrases in the transfer lexicon to be used in one or more successive translation procedures.
 31. The computer program product according to claim 25 wherein computer readable program code means f) further comprises: f.1) computer readable program code means for analyzing using synonyms; and f.2) computer readable program code means for analyzing a local collocation.
 32. The computer program product according to claim 25 wherein the translation means of b) or d) uses a dictionary lexicon.
 33. The computer program product according to claim 25 wherein the translation means of b) or d) uses a word meaning analyzer.
 34. The computer program product according to claim 25 wherein the translation means of b) or d) uses a sentence analyzer.
 35. The computer program product according to claim 1 wherein the link is to context in the same web page.
 36. The computer program product according to claim 1 wherein the link is to context in another web page. 